*Replication Data for "Accountability for Court Packing"

**CCES
use "CCES18.dta", clear

***Estimates for Figure 1
mean dvscale, over(bur)
mean dvscale, over(copartisan)
reg dvscale copartisan##c.lessInd ideoPre black hisp educ gender age ownhome ideo5_01 bornagain scjob
estimates store ccesMain
margins, at(lessInd=(0 .25 .5 .75 1) copartisan=(0 1))  atmeans
mean dvscale, over(fullTreat)

***Estimates for Figure E1
*Proposal Plot
mean proposal, over(bur)
mean proposal, over(copartisan)
reg proposal copartisan##c.lessInd ideoPre black hisp educ gender age ownhome ideo5_01 bornagain scjob
margins, at(lessInd=(0 .25 .5 .75 1) copartisan=(0 1))  atmeans
mean proposal, over(fullTreat)

*Incumbent Plot
mean job, over(bur)
mean job, over(copartisan)
reg job copartisan##c.lessInd ideoPre black hisp educ gender age ownhome ideo5_01 bornagain scjob
margins, at(lessInd=(0 .25 .5 .75 1) copartisan=(0 1))  atmeans
mean job, over(fullTreat)

*Vote Plot
mean vote, over(bur)
mean vote, over(copartisan)
reg vote copartisan##c.lessInd ideoPre black hisp educ gender age ownhome ideo5_01 bornagain scjob
margins, at(lessInd=(0 .25 .5 .75 1) copartisan=(0 1))  atmeans
mean vote, over(fullTreat)

***Table C1
reg dvscale i.copartisan c.lessInd ideoPre black hisp educ gender age ownhome ideo5_01 bornagain scjob
estimates store ccesDirect
reg dvscale i.copartisan c.lessInd
estimates store ccesDirectN
reg dvscale i.copartisan##c.lessInd
estimates store ccesMainN
estout ccesDirectN ccesDirect ccesMainN ccesMain, cells("b(star fmt(2))" "se(par fmt(2))") starlevels(* 0.05) style(tex) stats(r2 N)

**2018 MTurk
use "July18Mturk.dta", clear

***Estimates for Figure 2
*Index
mean dvscale, over(reason)
mean dvscale, over(copartisan)
reg dvscale copartisan##c.fjpre fjaboutright know black hisp educ gender age ownhome ideo fjconf
estimates store mturk1Regression
margins, at(fjpre=(0 (.05) 1) copartisan=(0 1 2))  atmeans
mean dvscale, over(allTreat)

***Estimates for Figure E2
*Proposal
mean propapp, over(reason)
mean propapp, over(copartisan)
reg propapp copartisan##c.fjpre fjaboutright know black hisp educ gender age ownhome ideo fjconf
margins, at(fjpre=(0 (.05) 1) copartisan=(0 1 2))  atmeans
mean propapp, over(allTreat)

*Incumbent
mean jobperf, over(reason)
mean jobperf, over(copartisan)
reg jobperf copartisan##c.fjpre fjaboutright know black hisp educ gender age ownhome ideo fjconf
margins, at(fjpre=(0 (.05) 1) copartisan=(0 1 2))  atmeans
mean jobperf, over(allTreat)

*Vote
mean vote, over(reason)
mean vote, over(copartisan)
reg vote copartisan##c.fjpre fjaboutright know black hisp educ gender age ownhome ideo fjconf
margins, at(fjpre=(0 (.05) 1) copartisan=(0 1 2))  atmeans
mean vote, over(allTreat)

***Table C2
reg dvscale i.copartisan c.fjpre fjaboutright know black hisp educ gender age ownhome ideo fjconf
estimates store mturk1RegressionDirect
reg dvscale i.copartisan c.fjpre
estimates store mturk1RegressionDirectN
reg dvscale copartisan##c.fjpre
estimates store mturk1RegressionN

estout mturk1RegressionDirectN mturk1RegressionDirect mturk1RegressionN mturk1Regression, cells("b(star fmt(2))" "se(par fmt(2))") starlevels(* 0.05) style(tex) stats(r2 N)


**2019 MTurk
use "Aug19MTurk.dta", clear

***Estimates for Figure 3
*Index DV
mean dvscale, over(reason)
mean dvscale, over(copartisanCondition)
reg dvscale i.copartisanCondition##c.fjlegit female ideo know age black hisp educ fjjob fjlib
estimates store mturk2Regression
margins, at(fjlegit=(0 (.05) 1) copartisanCondition=(0 1 2))  atmeans
mean dvscale, over(conditionDummy)

***Estimates for Figure E3
*Proposal DV
mean propapp, over(reason)
mean propapp, over(copartisanCondition)
reg propapp i.copartisanCondition##c.fjlegit female ideo know age black hisp educ fjjob fjlib
margins, at(fjlegit=(0 (.05) 1) copartisanCondition=(0 1 2))  atmeans
mean propapp, over(conditionDummy)

*Incumbent DV
mean jobperf, over(reason)
mean jobperf, over(copartisanCondition)
reg jobperf i.copartisanCondition##c.fjlegit female ideo know age black hisp educ fjjob fjlib
margins, at(fjlegit=(0 (.05) 1) copartisanCondition=(0 1 2))  atmeans
mean jobperf, over(conditionDummy)

*Vote DV
mean vote, over(reason)
mean vote, over(copartisanCondition)
reg vote i.copartisanCondition##c.fjlegit female ideo know age black hisp educ fjjob fjlib
margins, at(fjlegit=(0 (.05) 1) copartisanCondition=(0 1 2))  atmeans
mean vote, over(conditionDummy)

***Table C3
reg dvscale i.copartisanCondition c.fjlegit female ideo know age black hisp educ fjjob fjlib
estimates store mturk2RegressionDirect
reg dvscale i.copartisanCondition c.fjlegit
estimates store mturk2RegressionDirectN
reg dvscale i.copartisanCondition##c.fjlegit
estimates store mturk2RegressionN
estout mturk2RegressionDirectN mturk2RegressionDirect mturk2RegressionN mturk2Regression, cells("b(star fmt(2))" "se(par fmt(2))") starlevels(* 0.05) style(tex) stats(r2 N)
